package com.fg.cloud.common.construction;

import java.util.List;

/**
 * 菜单资源完整路由
 * @author around
 * @date 2017-7-27
 */
public class Resource implements java.io.Serializable {

	private static final long serialVersionUID = -2180028361405932942L;

	private Long id;
	
	private String path;
	
	private String component;
	
	private String name;
	
	private String icon;
	
	private Integer type;

	private Button meta;
	
	private List<Resource> children;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getComponent() {
		return component;
	}

	public void setComponent(String component) {
		this.component = component;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public List<Resource> getChildren() {
		return children;
	}

	public void setChildren(List<Resource> children) {
		this.children = children;
	}

	public Button getMeta() {
		return meta;
	}

	public void setMeta(Button meta) {
		this.meta = meta;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "Resource [id=" + id + ", path=" + path + ", component=" + component + ", name=" + name + ", icon="
				+ icon + ", type=" + type + ", children=" + children + ", meta=" + meta + "]";
	}

	
}
